<script>on mouseLeaveput empty into cd fld "Msg"end mouseLeave</script>
</part>
<part>
<id>2</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>398</left>
<top>35</top>
<right>465</right>
<bottom>65</bottom>
</rect>
<style>opaque</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>bold</textStyle>
<name>Quit</name>
<script>on mouseUpplay "clbtn"answer "MagEditテï」ソティIテウマ\テツオテ窶ケテ竏妥ツゥテ⑨" with "Yes" or "No"if it is "Yes" thendomenu "quit HyperCard"end ifend mouseUp</script>
</part>
<part>
<id>3</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>18</left>
<top>35</top>
<right>130</right>
<bottom>65</bottom>
</rect>
<style>opaque</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>bold</textStyle>
<name>Copy to Clipboard</name>
<script>on mouseUpplay "clbtn"enable cd btn "Copy2"click at loc of btn "Copy2"disable cd btn "Copy2"end mouseUp</script>
</part>
<part>
<id>5</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>130</left>
<top>35</top>
<right>197</right>
<bottom>65</bottom>
</rect>
<style>opaque</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>bold</textStyle>
<name>Save</name>
<script>on mouseUpplay "clbtn"enable cd btn "Save2"click at loc of btn "Save2"disable cd btn "Save2"end mouseUp</script>
</part>
<part>
<id>6</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>331</left>
<top>35</top>
<right>398</right>
<bottom>65</bottom>
</rect>
<style>opaque</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>bold</textStyle>
<name>Clear</name>
<script>on mouseUpplay "clbtn"enable cd btn "Clear2"click at loc of btn "Clear2"disable cd btn "Clear2"end mouseUp</script>
</part>
<part>
<id>7</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>251</left>
<top>70</top>
<right>372</right>
<bottom>93</bottom>
</rect>
<style>popup</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<selectedLines>
<integer>1</integer>
</selectedLines>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<name>Templates</name>
<script>on mouseUpglobal TmpPlace,SgnPlace,DrfPlaceput word 2 of SelectedLine of me into PopLineif PopLine is 1 thenenable cd btn "UpDate"click at loc of btn "UpDate"disable cd btn "UpDate"else--テャツォテ窶コテァテサテ窶コティテ テウテケif SelectedText of me is "テ液テ羽テ嘉」テ雲テï」ソテ、Jテ竕 ..." thenput TmpPlace into cd fld "Location"OpenTmpFolderput empty into cd fld "Location"else if SelectedText of me is "テ液テ院テ韻テ嘉」テï」ソテァテ古ィテコ..." thenif line 1 of cd btn "Templates" is not "-" thenput number of lines of cd btn "Templates" -3 into LineNumput line 3 to LineNum of cd btn "Templates" into DelFileListget ListDialog(1,"テァテ古ィテコテ竏妥テ暗液テ院テ韻テ嘉」テï」ソテォIテォï」ソテツオテニ津竕 テテヲテ竕・テツ「テ⑦",DelFileList,false,,"テァテ古ィテコ",,)if it is not "Cancel" thenset itemdelimiter to commaput first item of it into DelLineput second item of it into DelFiledelete line DelLine of cd btn "Templates"--テ液テ院テ韻テ嘉」テテεァテ古ィテコput TmpPlace & ":" & DelFile into DelFileEraseFile DelFileif char 1 to 5 of the result is "Error" thenexit to HyperCardend ifenable cd btn "UpDate"click at loc of btn "UpDate"disable cd btn "UpDate"put empty into cd fld "Location"end ifselect line 1 of cd btn "Templates"elseselect line 2 of cd btn "Templates"end ifelseput TmpPlace & colon & SelectedText of me into ReadTmpopen file ReadTmpread from file ReadTmp until eofput it into cd fld "MainField"close file ReadTmpput SelectedText of me into cd fld "Title"click at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"set the scroll of cd fld "MainField" to 1end ifselect line 1 of meend ifend mouseUp</script>
</part>
<part>
<id>10</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>18</left>
<top>70</top>
<right>195</right>
<bottom>93</bottom>
</rect>
<style>popup</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<selectedLines>
<integer>2</integer>
</selectedLines>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<name>FontList</name>
<script>on mouseUpset textFont of cd fld "MainField" to the selectedText of cd btn "FontList"end mouseUp</script>
</part>
<part>
<id>12</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>467</left>
<top>339</top>
<right>512</right>
<bottom>357</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>extend</textStyle>
<textHeight>13</textHeight>
<name>LineNum</name>
<script></script>
</part>
<part>
<id>16</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>379</left>
<top>339</top>
<right>440</right>
<bottom>356</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>extend</textStyle>
<textHeight>13</textHeight>
<name>CharNum</name>
<script></script>
</part>
<part>
<id>18</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>277</left>
<top>339</top>
<right>340</right>
<bottom>355</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>extend</textStyle>
<textHeight>13</textHeight>
<name>CurrDate</name>
<script>--on idle-- put the date & the time into cd fld "CurrDate"--end idle</script>
<script>on mouseUpput number of lines of cd fld "MainField" into cd fld "LineNum"put the number of chars in cd fld "MainField" into cd fld "CharNum"put the date into cd fld "CurrDate"set textFont of line 1 to number of lines of cd fld "MainField" of cd fld "MainField" to the selectedText of cd btn "FontList"set textSize of line 1 to number of lines of cd fld "MainField" of cd fld "MainField" to the selectedText of cd btn "FontSize"if cd fld "MainField" is empty thendisable menuItem "テゥテシテï」ソテ・テシテァトア" of menu "テδョ竏槐クニ抵ャ"end ifend mouseUp</script>
</part>
<part>
<id>1</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <true /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <true /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>18</left>
<top>119</top>
<right>496</right>
<bottom>337</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Osakaテ❶テャテエテッテケ</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>MainField</name>
<script></script>
</part>
<part>
<id>23</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>264</left>
<top>35</top>
<right>331</right>
<bottom>65</bottom>
</rect>
<style>opaque</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>bold</textStyle>
<name>Read</name>
<script>on mouseUpplay "clbtn"if the shiftKey is down thenanswer "May I help you...?"with "Read"or"Send"or"Cancel"if it is "Read" thenput cd fld "HelpList" into cd fld "MainField"end ifif it is "Send" thenput empty into cd fld "HelpList"put cd fld "MainField" into cd fld "HelpList"put empty into cd fld "MainField"end ifexit mouseUpend ifif the systemVersion < 8.5 thenanswer file "Select text file:" of type "text"if it is empty then exit to HyperCardelseput it into FilePathend ifelseput FullNavigation(Get,"TEXT","Select text file:") into FilePathif (FilePath is empty) or (FilePath is Error) then exit to HyperCardend ifopen file FilePathread from file FilePath until eofput it into cd fld "MainField"close file FilePathset textFont of line 1 to number of lines of cd fld "MainField" of cd fld "MainField" to the selectedText of cd btn "FontList"set itemdelimiter to colonput last item of FilePath into cd fld "Title"click at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"end mouseUp</script>
</part>
<part>
<id>25</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>310</left>
<top>95</top>
<right>484</right>
<bottom>116</bottom>
</rect>
<style>opaque</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<name>テッ竏づィテォティテ禿ッテ</name>
<script>on mouseUpplay "clbtn"enable cd btn "Info"click at loc of btn "Info"--disable cd btn "Info"end mouseUp</script>
</part>
<part>
<id>26</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>4</left>
<top>375</top>
<right>21</right>
<bottom>390</bottom>
</rect>
<style>transparent</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>15420</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>actBtn</name>
<script>on mouseUpif the icon of card btn "actBtn" is 16560 thenplay "down"set the icon of me to 15420lock screenput topLeft of cd window into tlset height of this cd to 390set topLeft of cd window to tl--テ荏テ宇テ叡テ丑elseplay "down"set the icon of me to 16560lock screenput topLeft of cd window into tlset height of this cd to 445set topLeft of cd window to tl--テ荏テ宇テ叡テ丑end ifend mouseUp</script>
</part>
<part>
<id>29</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <false /> </enabled>
<rect>
<left>154</left>
<top>358</top>
<right>166</right>
<bottom>370</bottom>
</rect>
<style>transparent</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>UpDate</name>
<script>on mouseUp--ティテ「テ、ヒ凖ェ窶コテュテglobal TmpPlace,SgnPlace,DrfPlaceput the destination into FoldPlaceset itemdelimiter to colondelete last item of FoldPlaceput FoldPlace & ":Templates" into TmpPlaceput FoldPlace & ":テ丑テ嘉、テ叡テ益" into SgnPlaceput FoldPlace & ":Drafts" into DrfPlaceset textAlign of cd fld "Msg" to left----テ ツーテ影テ嘉ャテ益テ嘉・テ [テ曳ティテ テウテケset cursor to busyget allFileList(TmpPlace)put it into TmpFiles-- テ英テ厩テァテ古ィテコset itemdelimiter to colonrepeat with i = 1 to number of lines in TmpFilesif number of items in line i of TmpFiles > 1then delete item 1 to (number of items in line i of TmpFiles - 1) ofツャline i of TmpFilesput "テ液テ院テ韻テ嘉」テャツォテ窶コテァテサテ窶コテュテ愿⑦"&line i of TmpFiles into cd fld "Msg"end repeat--テァ竕暗ィIティテ テウテケif TmpFiles is not empty thenput "テ影テ嘉ャテ益テ嘉・テ [テ曳"&return&"-"&return&TmpFiles &"-"&return&"テ液テ羽テ嘉」テ雲テï」ソテ、Jテ竕 ..."&return&"テ液テ院テ韻テ嘉」テï」ソテァテ古ィテコ..." into cd btn "Templates"elseput "テ影テ嘉ャテ益テ嘉・テ [テ曳" into cd btn "Templates"end ifselect line 1 of btn "Templates"--テ ツーティテェテアツコティテ テウテケset cursor to busyget allFileList(SgnPlace)put it into SgnFiles-- テ英テ厩テァテ古ィテコset itemdelimiter to colonrepeat with i = 1 to number of lines in SgnFilesif number of items in line i of SgnFiles > 1then delete item 1 to (number of items in line i of SgnFiles - 1) ofツャline i of SgnFilesput "テ液テ院テ韻テ嘉」テャツォテ窶コテァテサテ窶コテュテ愿⑦"&line i of SgnFiles into cd fld "Msg"end repeat--テァ竕暗ィIティテ テウテケif SgnFiles is not empty thenput "テ丑テ嘉、テ叡テ益"&return&"-"&return&SgnFiles &"-"&return&"テ液テ羽テ嘉」テ雲テï」ソテ、Jテ竕 ..."&return&"テ液テ院テ韻テ嘉」テï」ソテァテ古ィテコ..." into cd btn "Sign"elseput "テ丑テ嘉、テ叡テ益" into cd btn "Sign"end ifselect line 1 of btn "Sign"--テ ツーテ栄テ嘉「テ液テ曳ティテ テウテケset cursor to busyget allFileList(DrfPlace)put it into DrfFiles-- テ英テ厩テァテ古ィテコset itemdelimiter to colonrepeat with i = 1 to number of lines in DrfFilesif number of items in line i of DrfFiles > 1then delete item 1 to (number of items in line i of DrfFiles - 1) ofツャline i of DrfFilesput "テ液テ院テ韻テ嘉」テャツォテ窶コテァテサテ窶コテュテ愿⑦"&line i of DrfFiles into cd fld "Msg"end repeat--テァ竕暗ィIティテ テウテケif TmpFiles is not empty thenput "Drafts"&return&"-"&return&DrfFiles &"-"&return&"テ液テ羽テ嘉」テ雲テï」ソテ、Jテ竕 ..."&return&"テ液テ院テ韻テ嘉」テï」ソテァテ古ィテコ..." into cd btn "Drafts"elseput "Drafts" into cd btn "Drafts"end ifselect line 1 of btn "Drafts"--テァ竕暗ィIティテ テウテケput empty into cd fld "Msg"set textAlign of cd fld "Msg" to centerend mouseUpfunction allFileList TmpPlaceput getFiles(TmpPlace) into fileListput empty into fListrepeat with i = 1 to number of lines in fileListput line i of fileList & return after fListif last char of line i of fileList = ":"then put allFileList(line i of fileList) after fListend repeatreturn fListend allFileListfunction allFileList SgnPlaceput getFiles2(SgnPlace) into fileListput empty into fListrepeat with i = 1 to number of lines in fileListput line i of fileList & return after fListif last char of line i of fileList = ":"then put allFileList(line i of fileList) after fListend repeatreturn fListend allFileListfunction allFileList DrfPlaceput getFiles3(DrfPlace) into fileListput empty into fListrepeat with i = 1 to number of lines in fileListput line i of fileList & return after fListif last char of line i of fileList = ":"then put allFileList(line i of fileList) after fListend repeatreturn fListend allFileList</script>
</part>
<part>
<id>30</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>18</left>
<top>342</top>
<right>150</right>
<bottom>365</bottom>
</rect>
<style>popup</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<selectedLines>
<integer>1</integer>
</selectedLines>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<name>Sign</name>
<script>on mouseUpput word 2 of SelectedLine of me into PopLineif PopLine is 1 thenenable cd btn "UpDate"click at loc of btn "UpDate"disable cd btn "UpDate"else--テャツォテ窶コテァテサテ窶コティテ テウテケglobal TmpPlace,SgnPlace,DrfPlaceif SelectedText of me is "テ液テ羽テ嘉」テ雲テï」ソテ、Jテ竕 ..." thenput SgnPlace into cd fld "Location"OpenTmpFolderput empty into cd fld "Location"else if SelectedText of me is "テ液テ院テ韻テ嘉」テï」ソテァテ古ィテコ..." thenif line 1 of cd btn "Templates" is not "-" thenput number of lines of cd btn "Sign" -3 into LineNumput line 3 to LineNum of cd btn "Sign" into DelFileListget ListDialog(1,"テァテ古ィテコテ竏妥テ暗液テ院テ韻テ嘉」テï」ソテォIテォï」ソテツオテニ津竕 テテヲテ竕・テツ「テ⑦",DelFileList,false,,"テァテ古ィテコ",,)if it is not "Cancel" thenset itemdelimiter to commaput first item of it into DelLineput second item of it into DelFiledelete line DelLine of cd btn "Sign"--テ液テ院テ韻テ嘉」テテεァテ古ィテコput SgnPlace & ":" & DelFile into DelFileEraseFile DelFileif char 1 to 5 of the result is "Error" thenexit to HyperCardend ifenable cd btn "UpDate"click at loc of btn "UpDate"disable cd btn "UpDate"put empty into cd fld "Location"end ifselect line 1 of cd btn "Sign"elseselect line 2 of cd btn "Sign"end ifelseput SgnPlace & colon & SelectedText of me into ReadSgnopen file ReadSgnread from file ReadSgn until eofput it into line number of lines of cd fld "MainField" +1 of cd fld "MainField"close file ReadSgnclick at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"end ifselect line 1 of meend ifend mouseUp</script>
</part>
<part>
<id>32</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>197</left>
<top>35</top>
<right>264</right>
<bottom>65</bottom>
</rect>
<style>opaque</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>bold</textStyle>
<name>Save as</name>
<script>on mouseUpplay "clbtn"enable cd btn "SaveAs2"click at loc of btn "SaveAs2"disable cd btn "SaveAs2"end mouseUp</script>
<script>on mouseUpif SelectedText of me is "URLテï」ソテュツォテ「ツ。..." thenask "テアツコティテεï」ソテャツクテウテ陛ツオテニ津竕 テテヲテ竕・テツ「"if it is empty thenselect line 1 of cd btn "URL"exit mouseUpend ifput it into URLNameask URLName & " テテザRLテï」ソテャツクテウテ陛ツオテニ津竕 テテヲテ竕・テツ「" with "http://"if it is empty thenselect line 1 of cd btn "URL"exit mouseUpend ifput it into URLocationput URLName &space&space& URLocation &return& cd btn "URL" into cd btn "URL"if line 1 of cd btn "URL" is not "-" thenselect line 1 of cd btn "URL"elseselect line 2 of cd fld "URL"end ifend ifif SelectedText of me is "URLテï」ソテァテ古ィテコ..." thenif line 1 of cd btn "URL" is not "-" thenput number of lines of cd btn "URL" -3 into LineNumput line 1 to LineNum of cd btn "URL" into URListget ListDialog(1,"テァテ古ィテコテ竏妥テ〟RLテï」ソテォIテォï」ソテツオテニ津竕 テテヲテ竕・テツ「テ⑦",URList,false,,"テァテ古ィテコ",,)if it is not "Cancel" thenset itemdelimiter to commaput first item of it into Ansdelete line Ans of cd btn "URL"end ifselect line 1 of cd btn "URL"elseselect line 2 of cd btn "URL"end ifend ifend mouseUp</script>
</part>
<part>
<id>42</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>276</left>
<top>399</top>
<right>328</right>
<bottom>426</bottom>
</rect>
<style>opaque</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>9</textSize>
<textStyle>plain</textStyle>
<name>Go URL</name>
<script>on mouseUpplay "clbtn"if the systemVersion > 8 thenput word 2 of SelectedText of cd btn "URL" into cd fld "Location"GoMagSiteput empty into cd fld "Location"if hilite of cd btn "テ陰テ丑テ瓜テ厩テ・窶朞agEditテï」ソティIテウマ\テ竏妥テ" thendomenu "quit HyperCard"end ifelseanswer "テツアテテε」@テョ¥テテ筆acOS8テ ツサティ窶榲竕暗ツオテツゥテゥgテツカテ窶ケテマ\テテ"end ifput empty into cd fld "Location"end mouseUp</script>
</part>
<part>
<id>31</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>374</left>
<top>70</top>
<right>495</right>
<bottom>93</bottom>
</rect>
<style>popup</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<selectedLines>
<integer>1</integer>
</selectedLines>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<name>Drafts</name>
<script>on mouseUpglobal TmpPlace,SgnPlace,DrfPlaceput word 2 of SelectedLine of me into PopLineif PopLine is 1 thenenable cd btn "UpDate"click at loc of btn "UpDate"disable cd btn "UpDate"else--テャツォテ窶コテァテサテ窶コティテ テウテケif SelectedText of me is "テ液テ羽テ嘉」テ雲テï」ソテ、Jテ竕 ..." thenput DrfPlace into cd fld "Location"OpenTmpFolderput empty into cd fld "Location"--テャツォテ窶コテァテサテ窶コティテ テウテケelse if SelectedText of me is "テ液テ院テ韻テ嘉」テï」ソテァテ古ィテコ..." thenif line 1 of cd btn "Drafts" is not "-" thenput number of lines of cd btn "Drafts" -3 into LineNumput line 3 to LineNum of cd btn "Drafts" into DelFileListget ListDialog(1,"テァテ古ィテコテ竏妥テ暗液テ院テ韻テ嘉」テï」ソテォIテォï」ソテツオテニ津竕 テテヲテ竕・テツ「テ⑦",DelFileList,false,,"テァテ古ィテコ",,)if it is not "Cancel" thenset itemdelimiter to commaput first item of it into DelLineput second item of it into DelFiledelete line DelLine of cd btn "Drafts"--テ液テ院テ韻テ嘉」テテεァテ古ィテコput DrfPlace & ":" & DelFile into DelFileEraseFile DelFileif char 1 to 5 of the result is "Error" thenexit to HyperCardend ifenable cd btn "UpDate"click at loc of btn "UpDate"disable cd btn "UpDate"put empty into cd fld "Location"end ifselect line 1 of cd btn "Drafts"elseselect line 2 of cd btn "Drafts"end if--テャツォテ窶コテァテサテ窶コティテ テウテケelseput DrfPlace & colon & SelectedText of me into ReadDrfopen file ReadDrfread from file ReadDrf until eofput it into cd fld "MainField"close file ReadDrfput SelectedText of me into cd fld "Title"click at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"put DrfPlace & ":" & SelectedText of me into cd fld "Location"--テ液テ院テ韻テ嘉」テテεァテ古ィテコput DrfPlace & ":" & DelFile into DelFileEraseFile ReadDrfif char 1 to 5 of the result is "Error" thenexit to HyperCardend ifenable cd btn "UpDate"click at loc of btn "UpDate"disable cd btn "UpDate"put empty into cd fld "Location"set the scroll of cd fld "MainField" to 1end ifselect line 1 of meend ifend mouseUp</script>
</part>
<part>
<id>44</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>10</left>
<top>6</top>
<right>504</right>
<bottom>26</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>bold</textStyle>
<name>M a g E d i t</name>
<script>on mouseUpplay "clbtn"answer "MagEdit1.0"ツャ&return&" ヒ1999 Kazuki Iwai All rights reserved."ツャ& return with "Resource" or "Home" or "OK"if it is "HOME" thenreset menubargo homeend ifif it is "Resource" thenanswer "AddColor XCMD" & return & "テ①ヒ1993-95 Apple Computer, Inc."ツャ& return & "FullNavigation 1.7テ①EraseFile 1.2" ツャ& return & "テ①ヒ1998-99,ヒ1989-97テ①Frederic Rinaldi"ツャ& return & "Dartmouth XCMD's 4.0.3" & return & "テ①ヒ1988-93 Trustees of Dartmouth College"ツャ& return & "UxMsgBar1.0テ①" ツャ& "UxWriteST1.0テ①" ツャ& "UxFormTxt1.0" & return & "テ①ヒ1998 テtテcテh"end ifend mouseUp</script>
</part>
<part>
<id>45</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>197</left>
<top>70</top>
<right>249</right>
<bottom>93</bottom>
</rect>
<style>popup</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<selectedLines>
<integer>2</integer>
</selectedLines>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<name>FontSize</name>
<script>on mouseUpset textSize of cd fld "MainField" to the selectedText of cd btn "FontSize"end mouseUp</script>
</part>
<part>
<id>49</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>468</left>
<top>36</top>
<right>497</right>
<bottom>64</bottom>
</rect>
<style>opaque</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>12</textSize>
<textStyle>bold</textStyle>
<name>テ⑨</name>
<script>on mouseUpplay "clbtn"global TmpPlace,SgnPlace,DrfPlace,HlpPlace,HlpFilesif HlpFiles is not empty thenget ListDialog(1,"テュmテテ凝ホゥテツ「テァテテア竅テï」ソテォIテォï」ソテツオテニ津竕 テテヲテ竕・テツ「テ⑦",HlpFiles,false,,"OK",,)if it is not "Cancel" thenset itemdelimiter to commaput HlpPlace & ":" & last item of it into cd fld "Location"OpenHlpMenuput empty into cd fld "Location"end ifend ifend mouseUp</script>
</part>
<part>
<id>50</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <false /> </enabled>
<rect>
<left>177</left>
<top>339</top>
<right>189</right>
<bottom>351</bottom>
</rect>
<style>opaque</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Copy2</name>
<script>on mouseUpclick at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"if the systemVersion < 8.5 thenanswer "テツアテテε」@テョ¥テテ桧S8.5テ ツサティ窶榲竕暗ツオテツゥテゥgテツカテ窶ケテマ\テテ" with "OK"elseif cd fld "MainField" is not empty thenToClipend ifend ifend mouseUp</script>
</part>
<part>
<id>52</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <false /> </enabled>
<rect>
<left>192</left>
<top>339</top>
<right>204</right>
<bottom>351</bottom>
</rect>
<style>opaque</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Save2</name>
<script>on mouseUpclick at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"if cd fld "MainField" is not empty thenset textFont of cd fld "MainField" to the selectedText of cd btn "FontList"--テ液テ院テ韻テ嘉」テアツコテテεュ竏妥竕・テ荏テ宇テ叡テ丑if the length of cd fld "Title" > 31 thenput char 1 to 31 of cd fld "Title" into cd fld "Title"end if--if the systemVersion < 8.5 thenask file "File nameテ⑦" with cd fld "Title"if it is empty then exit to HyperCardelseput it into FilePathend ifelseput FullNavigation(P,,"File nameテ⑦",cd fld "Title") into FilePathif (FilePath is empty) or (FilePath is Error) then exit to HyperCardend ifset cursor to busyUxWriteST FilePath, "id 1", "cd", falseenable cd btn "UpDate"click at loc of btn "UpDate"disable cd btn "UpDate"end ifend mouseUp</script>
</part>
<part>
<id>53</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <false /> </enabled>
<rect>
<left>207</left>
<top>339</top>
<right>219</right>
<bottom>351</bottom>
</rect>
<style>opaque</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>SaveAs2</name>
<script>on mouseUpclick at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"if cd fld "MainField" is not empty thenglobal TmpPlace,SgnPlace,DrfPlaceset textFont of cd fld "MainField" to the selectedText of cd btn "FontList"answer "テッ竄ャテォ竏づェテ甘ï」ソテォIテォï」ソテツオテニ津竕 テテヲテ竕・テツ「" with "テ丑テ嘉、テ叡テ益" or "Templates" or "Drafts"--テ ツーテ丑テ嘉、テ叡テ益テï」ソテォIテォï」ソif it is "テ丑テ嘉、テ叡テ益" thenif cd fld "Title" is not empty thenCheckFileNameNumput SgnPlace & colon & cd fld "Title" into SgnPlace2elseask"テッ竄ャテォ竏づアツコテï」ソテャツクテウテ陛ツオテニ津竕 テテヲテ竕・テツ「"if it is not empty thenput it into cd fld "Title"CheckFileNameNumput SgnPlace & colon & cd fld "Title" into SgnPlace2end ifend if--ティdテッツーテ竏妥テ暗液テ院テ韻テ嘉」テアツコテ邃「テツサテツ「テツゥテ荏テ宇テ叡テ丑set itemDelimiter to colonput last item of SgnPlace2 into FileNamerepeat with i = 1 to number of lines of cd btn "Sign"set cursor to busyif line i of cd btn "Sign" is FileName thenEraseFile SgnPlace2if char 1 to 5 of the result is "Error" thenErrorCheckend ifend ifend repeat--UxWriteST SgnPlace2, "id 1", "cd", falseif char 1 to 5 of the result is "Error" thenErrorCheckend ifend if--テ ツーテ影テ嘉ャテ益テ嘉・テ [テ曳テï」ソテォIテォï」ソif it is "Templates" thenif cd fld "Title" is not empty thenCheckFileNameNumput TmpPlace & colon & cd fld "Title" into TmpPlace2elseask"テッ竄ャテォ竏づアツコテï」ソテャツクテウテ陛ツオテニ津竕 テテヲテ竕・テツ「"if it is not empty thenput it into cd fld "Title"CheckFileNameNumput TmpPlace & colon & cd fld "Title" into TmpPlace2end ifend if--ティdテッツーテ竏妥テ暗液テ院テ韻テ嘉」テアツコテ邃「テツサテツ「テツゥテ荏テ宇テ叡テ丑set itemDelimiter to colonput last item of TmpPlace2 into FileNamerepeat with i = 1 to number of lines of cd btn "Templates"set cursor to busyif line i of cd btn "Templates" is FileName thenEraseFile TmpPlace2if char 1 to 5 of the result is "Error" thenErrorCheckend ifend ifend repeat--UxWriteST TmpPlace2, "id 1", "cd", falseif char 1 to 5 of the result is "Error" thenErrorCheckend ifend if--テ ツーテ栄テ嘉「テ液テ曳テï」ソテォIテォï」ソif it is "Drafts" thenif cd fld "Title" is not empty thenCheckFileNameNumput DrfPlace & colon & cd fld "Title" into DrfPlace2elseask"テッ竄ャテォ竏づアツコテï」ソテャツクテウテ陛ツオテニ津竕 テテヲテ竕・テツ「"if it is not empty thenput it into cd fld "Title"CheckFileNameNumput DrfPlace & colon & cd fld "Title" into DrfPlace2end ifend if--ティdテッツーテ竏妥テ暗液テ院テ韻テ嘉」テアツコテ邃「テツサテツ「テツゥテ荏テ宇テ叡テ丑set itemDelimiter to colonput last item of TmpPlace2 into FileNameCheckFileNameNumrepeat with i = 1 to number of lines of cd btn "Drafts"set cursor to busyif line i of cd btn "Drafts" is FileName thenEraseFile TmpPlace2if char 1 to 5 of the result is "Error" thenErrorCheckend ifend ifend repeat--UxWriteST DrfPlace2, "id 1", "cd", falseif char 1 to 5 of the result is "Error" thenErrorCheckend ifend ifenable cd btn "UpDate"click at loc of btn "UpDate"disable cd btn "UpDate"end ifend mouseUpon CheckFileNameNum--テ液テ院テ韻テ嘉」テアツコテテεュ竏妥竕・テテε荏テ宇テ叡テ丑if the length of cd fld "Title" > 30 thenput char 1 to 30 of cd fld "Title" into cd fld "Title"end if--end CheckFileNameNumon ErrorCheckbeepanswer "テウ¥テ、ヒ凖マ\テツ テ烏テ嘉「テ [テ邃「テ」Nテツエテ窶ケテツオテホゥ"exit to HyperCardend ErrorCheck</script>
</part>
<part>
<id>54</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <false /> </enabled>
<rect>
<left>178</left>
<top>354</top>
<right>190</right>
<bottom>366</bottom>
</rect>
<style>opaque</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Clear2</name>
<script>on mouseUpput empty into cd fld "MainField"put empty into cd fld "Title"click at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"put empty into cd fld "Msg"end mouseUp</script>
</part>
<part>
<id>55</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <false /> </enabled>
<rect>
<left>162</left>
<top>344</top>
<right>174</right>
<bottom>356</bottom>
</rect>
<style>opaque</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Info</name>
<script>on mouseUpdisable cd btn "Info"click at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"if cd fld "MainField" is not empty thenset textFont of line 1 to number of lines of cd fld "MainField" of cd fld "MainField" to the selectedText of cd btn "FontList"put number of lines of cd fld "MainField" into LineNumput the number of chars in cd fld "MainField" into CharNumput 0 into MaxNumput "--" into MaxNumLinerepeat with i = 1 to LineNumset cursor to busyUxMsgBar i/LineNum*100, "R"put "テ①テ①テ①テ①テ①テ①テ①テ①テ①テ①テ①テ①テ①テ①テ① Wait..." into msgput the length of line i of cd fld "MainField" into InvMaxNumif InvMaxNum > MaxNum thenput InvMaxNum into MaxNumput i into MaxNumLineend ifend repeathide msgput MaxNum/2 into MaxNumanswer "テァsテェテョテ⑦"&LineNum &return& "テ「ツクテァsテï」ソテ、窶ケテテ津テヲテッ竏づゥテカテェテョテ⑦"&CharNum&returnツャ& "テ「ツクテァsテï」ソテ、窶ケテ窶ケテツサテツ「テッ竏づゥテカテェテョテ⑦"&CharNum-LineNum+1&return& "テ㈲テァsテ窶 テホゥテテ凝テεァ竕暗ォテづッ竏づゥテカテェテョテ⑦"&MaxNum&" テッ竏づゥテカ [ Lineテ⑦"&MaxNumLine&" ]"ツャwith "テァsテォツオテツカ" or "テァ竕暗ォテづッ竏づゥテカテウテ" or "OK"if it is "テァ竕暗ォテづッ竏づゥテカテウテ" thenif cd fld "MainField" is not empty thenselect line MaxNumLine of cd fld "MainField"end ifend ifif it is "テァsテォツオテツカ" thenask "テ「ホゥテッ竏づゥテカテ竕暗「ツクテァsテï」ソテャツクテテ催窶ケテ竏妥ツゥテ⑨"if it is not empty thenput it*2 into Numput UxFormTxt(cd fld "MainField", Num) into cd fld "MainField"if char 1 to 6 of the result is "Error : " thenexit mouseUpend ifend ifend ifend ifend mouseUp</script>
</part>
<part>
<id>57</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>223</left>
<top>339</top>
<right>235</right>
<bottom>351</bottom>
</rect>
<style>opaque</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Osaka</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Read2</name>
<script>on mouseUpclick at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"if the shiftKey is down thenanswer "May I help you...?"with "Read"or"Send"or"Cancel"if it is "Read" thenput cd fld "HelpList" into cd fld "MainField"end ifif it is "Send" thenput empty into cd fld "HelpList"put cd fld "MainField" into cd fld "HelpList"put empty into cd fld "MainField"end ifexit mouseUpend ifif the systemVersion < 8.5 thenanswer file "Select text file:" of type "text"if it is empty then exit to HyperCardelseput it into FilePathend ifelseput FullNavigation(Get,"TEXT","Select text file:") into FilePathif (FilePath is empty) or (FilePath is Error) then exit to HyperCardend ifopen file FilePathread from file FilePath until eofput it into cd fld "MainField"close file FilePathset textFont of line 1 to number of lines of cd fld "MainField" of cd fld "MainField" to the selectedText of cd btn "FontList"set itemdelimiter to colonput last item of FilePath into cd fld "Title"click at loc of btn "Dateテ⑦テ①テ①テ①テ①テ①テ①Charテ⑦テ①テ①テ①テ①テ①Lineテ⑦"set the scroll of cd fld "MainField" to 1end mouseUp</script>
<script>on openCardput menu "テδエ窶コニ" into cd btn "FontList"set textFont of cd fld "MainField" to the selectedText of cd btn "FontList"put the date into cd fld "CurrDate"--テ嘉 テ泳テ嘉姪 [テァテテア竅reset menubarcreate menu "テδョ竏槐クニ抵ャ"put "テャヒ凖ッtテï」ソテォ}テャツク,テゥテサテァティテï」ソテォ}テャツク,-,テャヒ凖ッtテï」ソテ嘘テ鋭テ [,テゥテサテァティテï」ソテ嘘テ鋭テ [,テ丑テ嘉、テ叡テ益テ閲テ [テ栄テッ¥テゥツカ,-,テ・テシテァトア,テゥテシテï」ソテ・テシテァトア,テ・テシテァトアテ テッテュuテ、竏,-,テァsテï」ソテ「テ津テ凝ァテサテ窶ケテマ\テテ" into mITEMput "PutDate,PutTime,,CopyDate,CopyTime,ShowClip,,FindWord,FindNext,FindReplace,,Wrap" into mMSGput mITEM into menu "テδョ竏槐クニ抵ャ" with menuMsg mMSG--ティテ「テ、ヒ凖ェ窶コテュテif the dontWrap of cd fld "MainField" = false thenset the checkMark of menuItem "テァsテï」ソテ「テ津テ凝ァテサテ窶ケテマ\テテ" of menu "テδョ竏槐クニ抵ャ" to trueset the dontwrap of cd fld "MainField" to falseelseset the checkMark of menuItem "テァsテï」ソテ「テ津テ凝ァテサテ窶ケテマ\テテ" of menu "テδョ竏槐クニ抵ャ" to falseset the dontwrap of cd fld "MainField" to trueend ifdisable menuItem "テゥテシテï」ソテ・テシテァトア" of menu "テδョ竏槐クニ抵ャ"global TmpPlace,SgnPlace,DrfPlace,HlpPlace,HlpFilesput the destination into FoldPlaceset itemdelimiter to colondelete last item of FoldPlaceput FoldPlace & ":テ駅テ嘉」テ益" into HlpPlaceput FoldPlace & ":Templates" into TmpPlaceput FoldPlace & ":テ丑テ嘉、テ叡テ益" into SgnPlaceput FoldPlace & ":Drafts" into DrfPlace----テ ツーテ影テ嘉ャテ益テ嘉・テ [テ曳ティテ テウテケset cursor to busyget allFileList(TmpPlace)put it into TmpFiles-- テ英テ厩テァテ古ィテコset itemdelimiter to colonrepeat with i = 1 to number of lines in TmpFilesif number of items in line i of TmpFiles > 1then delete item 1 to (number of items in line i of TmpFiles - 1) ofツャline i of TmpFilesput "テ液テ院テ韻テ嘉」テャツォテ窶コテァテサテ窶コテュテ愿⑦"&line i of TmpFiles into cd fld "Msg"end repeat--テァ竕暗ィIティテ テウテケif TmpFiles is not empty thenput "テ影テ嘉ャテ益テ嘉・テ [テ曳"&return&"-"&return&TmpFiles &"-"&return&"テ液テ羽テ嘉」テ雲テï」ソテ、Jテ竕 ..."&return&"テ液テ院テ韻テ嘉」テï」ソテァテ古ィテコ..." into cd btn "Templates"elseput "テ影テ嘉ャテ益テ嘉・テ [テ曳" into cd btn "Templates"end ifselect line 1 of btn "Templates"--テ ツーティテェテアツコティテ テウテケset cursor to busyget allFileList(SgnPlace)put it into SgnFiles-- テ英テ厩テァテ古ィテコset itemdelimiter to colonrepeat with i = 1 to number of lines in SgnFilesif number of items in line i of SgnFiles > 1then delete item 1 to (number of items in line i of SgnFiles - 1) ofツャline i of SgnFilesput "テ液テ院テ韻テ嘉」テャツォテ窶コテァテサテ窶コテュテ愿⑦"&line i of SgnFiles into cd fld "Msg"end repeat--テァ竕暗ィIティテ テウテケif SgnFiles is not empty thenput "テ丑テ嘉、テ叡テ益"&return&"-"&return&SgnFiles &"-"&return&"テ液テ羽テ嘉」テ雲テï」ソテ、Jテ竕 ..."&return&"テ液テ院テ韻テ嘉」テï」ソテァテ古ィテコ..." into cd btn "Sign"elseput "テ丑テ嘉、テ叡テ益" into cd btn "Sign"end ifselect line 1 of btn "Sign"--テ ツーテ栄テ嘉「テ液テ曳ティテ テウテケset cursor to busyget allFileList(DrfPlace)put it into DrfFiles-- テ英テ厩テァテ古ィテコset itemdelimiter to colonrepeat with i = 1 to number of lines in DrfFilesif number of items in line i of DrfFiles > 1then delete item 1 to (number of items in line i of DrfFiles - 1) ofツャline i of DrfFilesput "テ液テ院テ韻テ嘉」テャツォテ窶コテァテサテ窶コテュテ愿⑦"&line i of DrfFiles into cd fld "Msg"end repeat--テァ竕暗ィIティテ テウテケif TmpFiles is not empty thenput "Drafts"&return&"-"&return&DrfFiles &"-"&return&"テ液テ羽テ嘉」テ雲テï」ソテ、Jテ竕 ..."&return&"テ液テ院テ韻テ嘉」テï」ソテァテ古ィテコ..." into cd btn "Drafts"elseput "Drafts" into cd btn "Drafts"end ifselect line 1 of btn "Drafts"--テ ツーテ駅テ嘉」テ益ティテ テウテケset cursor to busyget allFileList(HlpPlace)put it into HlpFiles-- テ英テ厩テァテ古ィテコset itemdelimiter to colonrepeat with i = 1 to number of lines in HlpFilesif number of items in line i of HlpFiles > 1then delete item 1 to (number of items in line i of HlpFiles - 1) ofツャline i of HlpFilesput "テ液テ院テ韻テ嘉」テャツォテ窶コテァテサテ窶コテュテ愿⑦"&line i of HlpFiles into cd fld "Msg"end repeat--テァ竕暗ィIティテ テウテケput empty into cd fld "Msg"pass openCardend openCardfunction allFileList TmpPlaceput getFiles(TmpPlace) into fileListput empty into fListrepeat with i = 1 to number of lines in fileListput line i of fileList & return after fListif last char of line i of fileList = ":"then put allFileList(line i of fileList) after fListend repeatreturn fListend allFileListfunction allFileList SgnPlaceput getFiles2(SgnPlace) into fileListput empty into fListrepeat with i = 1 to number of lines in fileListput line i of fileList & return after fListif last char of line i of fileList = ":"then put allFileList(line i of fileList) after fListend repeatreturn fListend allFileListfunction allFileList DrfPlaceput getFiles3(DrfPlace) into fileListput empty into fListrepeat with i = 1 to number of lines in fileListput line i of fileList & return after fListif last char of line i of fileList = ":"then put allFileList(line i of fileList) after fListend repeatreturn fListend allFileListfunction allFileList HlpPlaceput getFiles4(HlpPlace) into fileListput empty into fListrepeat with i = 1 to number of lines in fileListput line i of fileList & return after fListif last char of line i of fileList = ":"then put allFileList(line i of fileList) after fListend repeatreturn fListend allFileListon PutDateput the date into line number of lines of cd fld "MainField" +1 of cd fld "MainField"end PutDateon PutTimeput the time into line number of lines of cd fld "MainField" +1 of cd fld "MainField"end PutTimeon CopyDateput the date into cd fld "Location"CopDatend CopyDateon CopyTimeput the time into cd fld "Location"CopDatend CopyTimeon ShowClipShowClipBoardend ShowClipon Wrapif the checkMark of menuItem "テァsテï」ソテ「テ津テ凝ァテサテ窶ケテマ\テテ" of menu "テδョ竏槐クニ抵ャ" = false thenset the checkMark of menuItem "テァsテï」ソテ「テ津テ凝ァテサテ窶ケテマ\テテ" of menu "テδョ竏槐クニ抵ャ" to trueset the dontwrap of cd fld "MainField" to falseelseset the checkMark of menuItem "テァsテï」ソテ「テ津テ凝ァテサテ窶ケテマ\テテ" of menu "テδョ竏槐クニ抵ャ" to falseset the dontwrap of cd fld "MainField" to trueend ifend Wrapon FindWordCheckFieldglobal FindStrask "テ・テシテァトアテ竏妥テ暗ッ竏づゥテカテウテ津ï」ソテャツクテウテ陛ツオテニ津竕 テテヲテ竕・テツ「" with FindStrif it is empty then exit FindWordput it into FindStrfind string FindStrput word 1 to 2 of the foundLine & " ( " &word 1 to 4 of the foundChunk &" )" into cd fld "Msg"enable menuItem "テゥテシテï」ソテ・テシテァトア" of menu "テδョ竏槐クニ抵ャ"end FindWordon FindNextCheckFieldglobal FindStrfind string FindStrput word 1 to 2 of the foundLine & " ( " &word 1 to 4 of the foundChunk &" )" into cd fld "Msg"end FindNexton FindReplaceCheckFieldglobal FindStrask "テ・テシテァトアテ竏妥テ暗ッ竏づゥテカテウテ津ï」ソテャツクテウテ陛ツオテニ津竕 テテヲテ竕・テツ「" with FindStrif it is empty then exit FindReplaceput it into SerchStrask "テュuテ、竏妥竏妥テ暗ッ竏づゥテカテウテ津ï」ソテャツクテウテ陛ツオテニ津竕 テテヲテ竕・テツ「"if it is empty then exit FindReplaceput it into ChangeStrrepeatfind string SerchStrif the result is "not found" then exit repeatput word 1 to 2 of the foundLine & " ( " &word 1 to 4 of the foundChunk &" )" into cd fld "Msg"answer "テュuテ、竏妥ツオテ窶ケテ竏妥ツゥテ⑨" with "テュuテ、竏" or "テゥテシテï」ソテ・テシテァトア" or "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」"if it is "テュuテ、竏" thenput ChangeStr into the foundChunkelseif it is "テゥテシテï」ソテ・テシテァトア" then next repeatelse exit repeathide msgend ifhide msgend repeatend FindReplaceon CheckFieldif cd fld "MainField" is empty thenexit to HyperCardend ifend CheckField--テ ツーテ鰻テ嘉。テ [テ曳テ雨テ叡テ曳on controlKey x--テ閲テ運テ嘉ャif x is 3 thenenable cd btn "Copy2"click at loc of btn "Copy2"disable cd btn "Copy2"end ifif x is 19 thenenable cd btn "Save2"click at loc of btn "Save2"disable cd btn "Save2"end ifif x is 13 thenenable cd btn "SaveAs2"click at loc of btn "SaveAs2"disable cd btn "SaveAs2"end ifif x is 15 thenenable cd btn "Read2"click at loc of btn "Read2"disable cd btn "Read2"end ifif x is 5 thenenable cd btn "Clear2"click at loc of btn "Clear2"disable cd btn "Clear2"end ifif x is 17 thendomenu "quit HyperCard"end ifif x is 9 thenenable cd btn "Info"click at loc of btn "Info"end if--テ嘉 テ泳テ嘉姪 [テ頴テ [if x is 4 thenput the date into line number of lines of cd fld "MainField" +1 of cd fld "MainField"end ifif x is 20 thenput the time into line number of lines of cd fld "MainField" +1 of cd fld "MainField"end ifif x is 6 thenFindWordend ifif x is 7 thenFindNextend ifif x is 18 thenFindReplaceend ifif x is 23 thenWrapend ifend controlKey</script>
</card>
card_3744.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >